package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "users_sound")
public class Sound implements Serializable {

    private ObjectId id;
    private Long userId;
    private String soundUrl;
    private String gender;
    private Long state;//状态：1：已被用户获取语音 0：未被用户获取语音
}
